import Vue from 'vue'
//导入路由
import VueRouter from 'vue-router'
//安装路由模块
Vue.use(VueRouter)

//导入 mui 
 import './lib/mui/css/mui.min.css' 
 import './lib/mui/css/icons-extra.css'

//按需导入Mint-ui 
import {Header,Swipe, SwipeItem } from 'mint-ui'

import router from './router.js'
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);


//导入APP组件
import app from './App.vue'
var vm = new Vue({
    el:'#app',
    render: c=>c(app),
    router
})